<div class="card home-card">
	<div class="item item-icon-left home-card-header">
		<ion-header-bar class="bar bar-secondary">
        <i class="icon ion-android-list icon-aeai-card balanced"><h2>待办任务</h2></i>
         <h1 class="title"></h1>
          <button class="button button-light ion-more" ng-click="showPopoverSetting($event,'${widgetCode}')"></button>
        </ion-header-bar>
	</div>
        <div class="list item home-card-bottom home-card-list-font home-item">
          <div ng-repeat="x in allTaskList | limitTo:5">
          	<a ng-if="x.state == '待办'"  href="#/tab/em-task-list/aaa">
          	<p class="item home-list-item home-card-list-font"  >
	          	<img class="home-task-icon" ng-src="/em_widget/widgets/task/image/todo.png">
	          	<span class="icon home-card-list-font task-list-left-card">{{x.title}}</span>
	          	<span class="icon home-card-list-font task-list-right" >{{x.laucherName}}</span>
          	</p>
          	</a>
          	<a ng-if="x.state == '在办'" href="#/tab/em-task-list/bbb">
          	<p class="item home-list-item home-card-list-font"  >
	          	<img class="home-task-icon" ng-src="/em_widget/widgets/task/image/ondoing.png">
	          	<span class="icon home-card-list-font task-list-left-card">{{x.title}}</span>
	          	<span class="icon home-card-list-font task-list-right">{{x.laucherName}}</span>
          	</p>
          	</a>
          	<a ng-if="x.state == '已办'" href="#/tab/em-task-list/ccc">
          	<p class="item home-list-item home-card-list-font"  >
	          	<img class="home-task-icon" ng-src="/em_widget/widgets/task/image/did.png">
	          	<span class="icon home-card-list-font task-list-left-card">{{x.title}}</span>
	          	<span class="icon home-card-list-font task-list-right">{{x.laucherName}}</span>
          	</p>
          	</a>
          </div>
          <div ng-if="allTaskListNoRecords">无记录</div>
        </div>
        <div class="button-bar button-outline button-stable home-card-more">  
          <a href="#/tab/em-task-list/aaa" class="button button-light home-card-list-font">更多任务</a>
        </div>
</div>